import { createApp } from 'vue'
import App from './App.vue'

import '@grapecity/spread-sheets/styles/gc.spread.sheets.excel2013white.css';
import "@grapecity/spread-sheets-designer/styles/gc.spread.sheets.designer.min.css";
import * as GC from "@grapecity/spread-sheets";
import "@grapecity/spread-sheets-print";
import "@grapecity/spread-sheets-shapes";
import "@grapecity/spread-sheets-io";
import "@grapecity/spread-sheets-pivot-addon";
import "@grapecity/spread-sheets-tablesheet";
import "@grapecity/spread-sheets-designer-resources-cn";
import "@grapecity/spread-sheets-designer";
import Designer from "@grapecity/spread-sheets-designer-vue"
import { GcSpreadSheets } from "@grapecity/spread-sheets-vue"

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import './style.css'

import router from "./router"
window.GC = GC
let app = createApp(App);
app.use(router)
app.use(ElementPlus)
app.component('gc-spread-sheets-designer', Designer)
app.component('gc-spread-sheets', GcSpreadSheets)

app.mount('#app')

console.log(import.meta.env)